projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2b9c3e
)
(search_buffer): Call set_search_regs with a byte
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Feb 2001 19:21:26 +0000
(19:21 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Feb 2001 19:21:26 +0000
(19:21 +0000)
position, not a character position.
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 99da344c1baaf143dc3826dfeb63caca45da707f..0bf881565a91f82b28894dc5c689ddf76a5a5f4f 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-1030,7
+1030,7
@@
search_buffer (string, pos, pos_byte, lim, lim_byte, n,
/* Null string is found at starting position. */
if (len == 0 || n == 0)
{
- set_search_regs (pos, 0);
+ set_search_regs (pos
_byte
, 0);
return pos;
}